package zhupf.test.designPattern.composite;


public class Department extends OrganizationComponsite {



    public Department(String name){
        this.setName(name);
    }

    @Override
    public String getName() {
        return super.getName();
    }


    @Override
    protected void print() {
        System.out.println("======="+this.getName()+"=========");
    }
}
